import * as React from "react";
import * as ReactDOM from "react-dom";

import { Button } from './index'


const handlerClick: React.MouseEventHandler<HTMLButtonElement | HTMLAnchorElement> = () => {
    console.log(1);
}

const handlerClick2 = () => {
    console.log(2);
}

ReactDOM.render(
    <React.Fragment>
        {/* <div className="abc_icon"></div> */}
        {/* <Hello message="hello"></Hello> */}

        <Button>不可用(hover/active/事件失效)</Button>
        <Button type="default" onClick={handlerClick} loading={true}>点击后发送异步中(hover/active/事件失效)</Button>
        <Button onClick={handlerClick2}>创建会议</Button>
        <Button type="default" className="active" onClick={handlerClick2}>激活或hover</Button>
    </React.Fragment>,
    document.getElementById("app")
);